var ApiFactory = require('lib/ApiFactory')
  , _ = require('underscore')

module.exports.saveAgentSettingApi = ApiFactory({
  url:function(params){
    return BlueWare.urlPrefix + '/app/' + params.appId + '/agentSet'
  },
  method:'post',
  optionParams:['appId'],
  params:{
    appId:{
      defaultValue:BlueWare.appId
    }
  }
})
